#ifndef LEVEL_RESOURCE_H_
#define LEVEL_RESOURCE_H_

struct tgLevelResource
{
	int order;
	const char *name;
	const char *irr_name;
	const char *pack_name;
	//const char *sprite_name;
	//int sprite_frame_id;
	const char *string_name;
	int string_id;
	const char *texture_name;
	const char *texture_name2;
};

const char * GetMappingLevelNameByIrrName(int rate, const char * fileName );
const char * GetMappingLevelName(int rate, const char * fileName );

int GetMaxLevelNumber();

struct tgLevelResource *GetLevelResourceByIndex(int rate,int levelNum);

struct tgLevelPaperInfo
{
	int order;
	const char *sprite_name;
	int sprite_frame_id;
	int x;
	int y;
};

struct tgLevelPaperLogoInfo
{
	int order;
	const char *sprite_name;
	int sprite_frame_id;
	int x;
	int y;
};
struct tgLevelPaperInfo *GetPaperOptionInfoByLevelId(int levelNum);
struct tgLevelPaperInfo *GetPaperLoadingInfoByLevelId(int levelNum);
struct tgLevelPaperLogoInfo *GetPaperLogoLoadingInfoByLevelId(int levelNum);

struct tgPhotoInfo
{
	const char *m_pFileName;
	const char *m_pFileName2;
};

struct tgPhotoInfo *GetPhotoNameById(int Num);
int GetPhotoNumber();
#endif//LEVEL_RESOURCE_H_